#include <cstdio>
#include <cstdlib>
#include <ctime>
using namespace std;

int main_113()
{
    srand((unsigned int)time(nullptr));
    int a=1000,b=40000;
    for (int i=0;i<10 ;++i )
    {
        printf("%d ",(int)(((double)rand()/SHRT_MAX)*(b-a+1)+a));
    }
	return 0;
}
